package com.sh.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sh.common.pojo.dto.OperatorDto;
import com.sh.common.pojo.dto.OperatorParseResultDto;
import com.sh.common.pojo.query.OperatorPageQuery;
import com.sh.entity.Operator;
import com.sh.exceptions.BizException;

import java.util.List;

/**
 * <p>
 * 算子表 服务类
 * </p>
 *
 * @author zhenlan
 * @since 2024-07-10
 */
public interface IOperatorService extends IService<Operator> {

    IPage<OperatorDto> queryOperatorPage(OperatorPageQuery query);

    OperatorDto transferToDto(Operator operator);

    List<OperatorDto> queryOperatorTree(OperatorPageQuery query);

    OperatorParseResultDto parseOperator(String filePath, String entryFile) throws BizException;

}
